/**
 * 消息api
 */
import { axios } from '@/utils/request';
const hardcodeUrl = '';
const api = {
  msg: hardcodeUrl + 'msg/web-message',
  thirdMsg: hardcodeUrl + 'msg/third-message'
};

/**
 * 获取系统消息列表
 * @param {*} params
 */
export function getSysMessageList(params) {
  return axios({
    url: api.msg + '/listmsg',
    method: 'get',
    params
  });
}

/**
 * 获取系统消息
 * @param {*} params
 */
export function getSysMessage(params) {
  return axios({
    url: api.msg,
    method: 'get',
    params
  });
}


export function getThirdMessageList(params) {
  return axios({
    url: api.thirdMsg + '/listmsg',
    method: 'get',
    params
  });
}